package com.ajie.service;

import com.ajie.entity.Moment;
import com.ajie.utils.QueryInfo;
import com.ajie.utils.Result;
import com.ajie.vo.MomentVo;
import com.ajie.vo.QuestVo;

import java.util.List;

public interface MomentService {
    Result findPage(QueryInfo queryInfo,String header);
    
    Result insert(Moment moment);
    
    Result delete(Long id);
    
    Result update(Moment moment);
    
    Result insertQuest(QuestVo questVo);
    
    List<MomentVo> getAll();
    
    Result findPageByCreatedId(QueryInfo queryInfo,String header);
    
    Result findPageCheck(QueryInfo queryInfo, String header);
    
    Result updateStatus(Long id);
}
